/**********************************************************************************************************************
 *
 * Project:    mGameEngine
 * File:       sky.vert
 * Author:     karooolek
 * Created on: 2010-01-04
 *
 **********************************************************************************************************************/
 
STRINGIZE(

varying vec3 position;

void main()
{
    // pass texture coordinates
    position = vec3(gl_Vertex);
    
    // transform vertex
    mat4 modelview = gl_ModelViewMatrix;
    modelview[3] = vec4(0.0, 0.0, 0.0, 1.0);
    gl_Position = gl_ProjectionMatrix * modelview * gl_Vertex;
}

) // STRINGIZE
